import { IsNotEmpty, IsOptional, Max, MaxLength } from "class-validator";

export class OrgTreeDto {

  /**
   * 上级组织ID
   */
  @IsOptional()
  @MaxLength(9)
  id: number | null;
}